package modelLag;


/**
 * Description of the class CustomerType.
 * 
 * @author (Christian, Umut, Christoffer, Patrick, Simon) 
 * @project (Semesterprojekt)
 * @version (2014.12.09)
 */
public class CustomerType
{
    private String type;
    private double discountRate;

    /**
     * Constructor for objects of class CustomerType.
     * 
     * @param t is the user input for the type.
     * @param d is the user input for the discountRate.
     */
    public CustomerType(String t, double d){
        type = t;
        discountRate = d;
    }
    
   /**
    * Return the discountRate of the customerType.
    */
    public double getDiscountRate(){
        return discountRate;
    }
}
